package com.laicunba.ext.web.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
public @interface ResponseCache {

	/**
	 * 缓存Key
	 * 
	 * @return
	 */
	String key() default "";

	/**
	 * 缓存时间，单位：秒
	 * 
	 * @return
	 */
	int time() default 60;

	/**
	 * 缓存参数名
	 * 
	 * 
	 * @return
	 */
	String keyparam() default "";
}
